package com.zhz.model.company.contract.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author zhouhengzhe
 * @date 2023/3/21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
public class DepartmentDTO  {

    private String id;
    /**
     * 企业ID
     */
    private String companyId;

    /**
     * 父级部门ID
     */
    private String pid;

    /**
     * 部门名称
     */
    private String name;

    /**
     * 部门编码
     */
    private String code;

    /**
     * 部门负责人
     */
    private String manager;

    /**
     * 介绍
     */
    private String introduce;

    /**
     * 负责人ID
     */
    private String managerId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}